package com.zp.bean.common;

import java.util.List;
import javax.xml.bind.annotation.XmlRootElement;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import com.zp.domain.ModuleType;

/**
 * define module type java bean for web services return which include ModuleType
 * object or collection of ModuleType
 * 
 * @author chenlijun08@gmail.com
 * 
 * @version 1.0
 * 
 * @date 2014/3/12
 * 
 */
@XmlRootElement
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class ResultModuleTypeVo extends ResultCommonVo {
	private static final long serialVersionUID = 1L;
	private ModuleType type;
	private List<ModuleType> listVo;

	public ModuleType getType() {
		return type;
	}

	public void setType(ModuleType type) {
		this.type = type;
	}

	public List<ModuleType> getListVo() {
		return listVo;
	}

	public void setListVo(List<ModuleType> listVo) {
		this.listVo = listVo;
	}

}
